Technical Q&As
QD 06 - Using PrGeneral() to Download Fonts (1-May-95)
Q I'm having a problem using a PrGeneral() call for the LaserWriter 8
to download fonts to my Encapsulated Postscript (EPS) files. Sometimes, while
writing the font info to my EPS file, my program crashes or I get a bus error.
It may happen with the second or with some later font -- not always at the same
place. And it doesn't seem make a any difference which font is being written.
I'm compiling with Symantec Think C++ 6.0. Is it a bug?
A Yes, it's a bug, and a fix is forthcoming in the LaserWriter 8 driver, version
8.3 release.
One word of caution: The PrGeneral() call you're using in LaserWriter 8 will
continue to be supported, but you need to check that the opcode continues to be
supported by checking if it returns an opNotImpl (opcode not implemented)
error.
Technical Q&As
Previous Question | Contents | Next Question